Atum\Api\Generators\StoreSettingsGenerator S

Total Complexity 48
Dependencies 4
Dependents 1
Total lines 692
Lines of code 337
Logical lines of code 58
Comment lines 245
Methods 22
Properties 3

Methods 22

Method Rating Maintainability Complexity Lines of code
are_all_settings_populated()
A
57 11 15
__construct()
S
57 6 15
update_accumulated_settings()
S
60 3 13
map_wc_general_settings()
S
45 1 42
map_atum_multi_inventory_settings()
S
47 1 38
transform_settings()
S
54 2 21
generate_sql_update()
S
55 2 19
find_setting_by_id()
S
67 3 8
map_wc_tax_settings()
S
52 1 26
map_atum_store_details_settings()
S
52 1 25
map_wc_product_settings()
S
52 1 24
map_atum_general_settings()
S
57 1 16
validate_enum_setting()
S
78 2 3
get_array_setting()
S
74 2 4
get_boolean_setting()
S
73 2 4
get_string_setting()
S
74 2 4
get_int_setting()
S
74 2 4
map_wc_admin_settings()
S
59 1 15
map_atum_product_levels_settings()
S
61 1 11
map_atum_module_manager_settings()
S
63 1 10
prepare_data()
S
63 1 10
get_shipping_tax_class_name()
S
63 1 10